<?php
	require_once("../inc/models/customer_model.php");
	if(isset($_POST['submit']))
	{
		$row = $_POST;
		NewCustomer($row);
		header("Location: index.php");
	}
?>
<!DOCTYPE html>
<html lang="en">
   <?php include('../inc/header.php'); ?>
        <body>
        <?php include('../inc/navigation.php'); ?>     
        <div class="span9">
        	<div class="row-fluid">
        		<h2>Create Customer</h2> 
        		<form class="well" method="post" action="#">
					<div class="control-group">
						<label class="control-label" for="first_name">First Name:</label>
						<div class="controls">
							<input type="text" name="first_name" id="first_name"/>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="last_name">Last Name:</label>
						<div class="controls">
							<input type="text" name="last_name" id="last_name"/>
						</div>
					</div> 
					<input type="submit" name="submit" value="Submit" />
				</form>
        	</div>
        </div>
        <!-- All Bootstrap JavaScript Files -->
        <script src="../inc/bootstrap/js/jquery.js"></script>
    	<script src="../inc/bootstrap/js/bootstrap.js"></script>
   </body>
</html>